import request from '@/axios'

export function getList(data) {
    return request({
      url: '/warehouse/drug/list',
      method: 'get',
      params: data
    })
}


export function add(data) {
  return request({
    url: '/warehouse/drug/add',
    method: 'post',
    data
  })
}


export function del(data){
    return request({
      url: '/sys/doctor/del',
      method: 'delete',
      data
    })
}